package it.must.myspringboot.exception;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @Author zj@uinpay.cn
 * @Date 2024/12/6 15:53
 */
@ControllerAdvice
public class ExceptionController {

    @ExceptionHandler(RuntimeException.class)
    public String handleRuntime() {
        return "null";
    }
}
